import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:sports_new/view/my/sale_center/coupon_pack_page.dart';
import 'package:sports_new/view/my/sale_center/ai_pack_page.dart';

class SaleCenterLogic extends GetxController with GetTickerProviderStateMixin{
  List<String> tabs = ["超值券包", "模型组合"];
  List<Widget> pages = const [CouponPackPage(),AiPackPage()];
  late TabController tabController = TabController(
    length: tabs.length, vsync: this,
    initialIndex: !tabs.contains(Get.arguments)?0:tabs.indexOf(Get.arguments)
  );
}